package com.jiunuan.live.core.server.common;

import io.netty.util.AttributeKey;
import lombok.Data;

/**
 * @Author: JiuNuan
 * @CreateTime: 2024-08-13 21:01
 * @Description: 构建对象处理正常或意外断线情况
 */
@Data
public class ImContextAttr {
    /**
     * 绑定用户id
     */
    public static AttributeKey<Long> USER_ID = AttributeKey.valueOf("userId");
    /**
     * 绑定appId
     */
    public static AttributeKey<Integer> APP_ID = AttributeKey.valueOf("appId");
    /**
     * 绑定直播间id
     */
    public static AttributeKey<Integer> ROOM_ID = AttributeKey.valueOf("roomId");
}
